package model.command;
import controller.KeyListeners.KeyListenerSet;
import model.playable.structure.Structure;
/**
 * Defines traits common to all structure commands
 *
 * @author joseph
 */
public abstract class StructureCommand extends Command{
    Structure structure;
    /**
     * Initiates this structure command
     *
     * @param listeners             The listeners availible to this command
     * @param structure             The structure to execute this command
     */
    public StructureCommand(Structure structure){
        super();
        setStructure(structure);
    }
    /**
     * 
     * @return
     */
    public Structure getStructure(){
        return structure;
    }
    private void setStructure(Structure structure){
        this.structure = structure;
    }
}
